Release 10.1A: OpenEdge Development:
Programming Interfaces


policies-dataset-read-xml procedure

Read an XML file containing audit policies and then populate the specified ProDataSet object. If the ProDataSet already contains one or more policies defined in the XML file, this routine returns a comma-separated list of duplicate policies in the pcList parameter, so that caller can decide if it wants to override existing policies while loading the XML into the ProDataSet. This procedure calls src/auditing/_imp-policies.p to read the XML file and import it into the ProDataSet.

Parameters:

INPUT pcxmlFileName AS CHARACTER

XML file name.

INPUT-OUPUT DATASET-HANDLE FOR phDataSet

ProDataSet object.

OUTPUT pcList AS CHARACTER

List of existing policies.

OUTPUT pcErrorMsg AS CHARACTER

Error messages.

Example: See the "cancel-import-from-xml procedure" section


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095